-
Home
-
WooCommerce
-
9.1.0
-
Code
-
Classes
- BlockTypesController
Total Complexity |
31 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
376 |
Lines of code |
243 |
Logical lines of code |
72 |
Comment lines |
99 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_block_types() |
A |
32 |
6 |
133 |
add_data_attributes() |
A |
49 |
8 |
27 |
has_block_variation() |
S |
58 |
6 |
15 |
init() |
S |
55 |
3 |
20 |
register_blocks() |
S |
68 |
2 |
7 |
redirect_to_field() |
S |
69 |
2 |
6 |
hide_legacy_widgets_with_block_equivalent() |
S |
62 |
1 |
14 |
register_block_categories() |
S |
62 |
1 |
13 |
__construct() |
S |
74 |
1 |
5 |
delete_product_transients() |
S |
81 |
1 |
3 |